package org.example.service;

import org.example.bean.*;

import java.util.List;

public interface ModulesService {
    List<Modules> findModule(Integer m_id);

    List<ModuleList> findAll();

    List<Product> findAllProduct();

    List<Supplier> findAllSupplier();

    Integer addModuleList(String mName);

    boolean addModules(Integer mId, String supplier, String breed, Integer finalist, Integer nowFix);

    boolean del(Integer mId);

    List<Ship> shopAll();

    Integer ordersAll(Orders orders);

    Integer addSup(Sup sup);

    List<Sup> supSer(Integer oId);

    Integer addOD(Integer oId, String breed, Integer price, Integer purchaseQuantity);

    List<OrderDetailed> OrderDetailedId(Integer oId);

    boolean updateODPrice(Integer oId,String breed, Integer price);

    boolean deleteSO(Integer oId);
}
